﻿using System;

namespace BotonJXC.Util
{
    /// <summary>
    /// 单据类型枚举
    /// </summary>
    public enum BillType
    {
        /// <summary>
        /// 订单
        /// </summary>
        Order,
        /// <summary>
        /// 出库单
        /// </summary>
        OutStock,
        /// <summary>
        /// 入库单
        /// </summary>
        InStock,
        /// <summary>
        /// 调拨单
        /// </summary>
        Allocate,
        /// <summary>
        /// 退货单
        /// </summary>
        Return,
        /// <summary>
        /// 拣货单
        /// </summary>
        Pickings,
        /// <summary>
        /// 验收单
        /// </summary>
        Acceptance,
        /// <summary>
        /// 传财务单
        /// </summary>
        FinanceBill,
        /// <summary>
        /// 结算款单
        /// </summary>
        SettleAccounts
    }

    /// <summary>
    /// 单据详细类型
    /// </summary>
    public enum BillDetailType : int
    {
        /// <summary>
        /// 分店订货单
        /// </summary>
        StoreOrder = 1,
        /// <summary>
        /// 配送中心采购订单 
        /// </summary>
        DistPurOrder = 2,
        /// <summary>
        /// 配送中心供应商订单
        /// </summary>
        DistSuppOrder = 3,
        /// <summary>
        /// 采购中心采购订单
        /// </summary>
        PurPurOrder = 4,
        /// <summary>
        /// 
        //分店管理配送出库
        /// </summary>
        StoreDistOut = 5,
        /// <summary>
        /// 分店管理报损出库
        /// </summary>
        StoreLossOut = 6,
        /// <summary>
        /// 配送中心配送出库
        /// </summary>
        DistDistOut = 7,
        /// <summary>
        /// 配送中心报损出库
        /// </summary>
        DistLossOut = 8,
        /// <summary>
        /// 加工间配送出库
        /// </summary>
        ProcessDistOut = 9,
        /// <summary>
        /// 加工间报损出库
        /// </summary>
        ProcessLossOut = 10,
        /// <summary>
        /// 分店管理配送入库
        /// </summary>
        StoreDistIn = 11,
        /// <summary>
        /// 配送中心配送入库
        /// </summary>
        DistDistIn = 12,
        /// <summary>
        /// 加工间配送入库
        /// </summary>
        ProcessDistIn = 13,
        /// <summary>
        /// 分店店内调拨
        /// </summary>
        StoreIntAlloc = 14,
        /// <summary>
        /// 分店同城调拨
        /// </summary>
        SotreSCityAlloc = 15,
        /// <summary>
        /// 配送店内调拨
        /// </summary>
        DistIntAlloc = 16,
        /// <summary>
        /// 加工间店内调拨
        /// </summary>
        ProcessIntAlloc = 17,
        /// <summary>
        /// 配送行政领用
        /// </summary>
        DistRece = 18,
        /// <summary>
        /// 分店验收
        /// </summary>
        StoreAcce = 19,
        /// <summary>
        /// 配送中心供应商验收
        /// </summary>
        DistSuppAcce = 20,
        /// <summary>
        /// 配送中心采购验收
        /// </summary>
        DistPurAcce = 21,
        /// <summary>
        /// 配送中心退货单
        /// </summary>
        DistReturn = 22
    }
    /// <summary>
    /// 单据产生地枚举
    /// </summary>
    public enum BillSource
    {
        /// <summary>
        /// 分店管理
        /// </summary>
        Store = 1,
        /// <summary>
        /// 配送中心
        /// </summary>
        DistributionCenter = 2,
        /// <summary>
        /// 采购管理
        /// </summary>
        Purchase = 3,
        /// <summary>
        /// 加工间管理
        /// </summary>
        Process = 4,
        /// <summary>
        /// 财务管理
        /// </summary>
        Finance = 5
    }
}